package request

type LoginUser struct {
	Name     string ` json:"name" binding:"required"`
	Password string `json:"password" binding:"required"`
}

type WSReq struct {
	Cmd  string      `json:"cmd" binding:"required"`
	Data interface{} `json:"data" binding:"required"`
}

type SendS struct {
	ToUserId uint   `json:"to_user_id" binding:"required"`
	Message  string `json:"message" binding:"required"`
}

type WSSendReq struct {
	Cmd  string `json:"cmd" binding:"required"`
	Data SendS  `json:"data" binding:"required"`
}
